package in.co.codedoc.event;

import in.co.codedoc.cg.annotations.DBType;
import in.co.codedoc.cg.annotations.HasProperties;
import in.co.codedoc.cg.annotations.IsMappedToJSON;
import in.co.codedoc.cg.annotations.IsMappedToTable;
import in.co.codedoc.cg.annotations.Property;
import in.co.codedoc.time.DayTime;

@IsMappedToJSON
@IsMappedToTable("AsyncEventMeta")
@HasProperties
({
	@Property(name="id",identity=true),
	@Property(name="version",version=true),
	@Property(name="eventType",datatype=String.class),
	@Property(name="earliestNextPickup",datatype=DayTime.class,dbType=DBType.TIMESTAMP,defaultValue="new DayTime()"),
	@Property(name="pickedUpAt",datatype=DayTime.class,dbType=DBType.TIMESTAMP)
})
public class AsyncEventMeta
	extends AsyncEventMetaBase
{

}
